package lhy.utils;

import java.util.concurrent.ExecutorService;
import java.util.concurrent.Executors;

public class ThreadPool {
    static ExecutorService executors = Executors.newCachedThreadPool();
    public static void execute(Runnable r){
        executors.execute(r);
    }
    public static ExecutorService create(){
        return Executors.newCachedThreadPool();
    }
}
